import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import TabBar from './TabBar';

const Stack = createNativeStackNavigator();

const Container = () => {

  return (
    <NavigationContainer>
      <Stack.Navigator>
        <Stack.Screen
          options={{ headerShown: false }}
          name='Root' component={TabBar} />
      </Stack.Navigator>
    </NavigationContainer>
  )
}
export default Container;